package com.icbc.api;

import com.icbc.api.AbstractIcbcRequest;
import com.icbc.api.BizContent;
import com.icbc.api.internal.util.fastjson.annotation.JSONField;
import com.icbc.epm.api.response.ProjectQueryResponseV1;

public class ProjectQueryRequestV1 extends AbstractIcbcRequest<ProjectQueryResponseV1> {
	@Override
	public Class<ProjectQueryResponseV1> getResponseClass() {
		return ProjectQueryResponseV1.class;
	}

	@Override
	public boolean isNeedEncrypt() {
		return false;
	}

	@Override
	public String getMethod() {
		return "POST";
	}

	@Override
	public Class<? extends BizContent> getBizContentClass() {
		return ProjectQueryRequestV1Biz.class;
	}
	
	
	public static class ProjectQueryRequestV1Biz implements BizContent {
		
		@JSONField(name = "epm_app_id")
		private String epmAppId;	
		
		@JSONField(name = "cur_page")
		private String curPage; 
		
		@JSONField(name = "fetch_num")
		private String fetchNum;

		public String getEpmAppId() {
			return epmAppId;
		}

		public void setEpmAppId(String epmAppId) {
			this.epmAppId = epmAppId;
		}

		public String getCurPage() {
			return curPage;
		}

		public void setCurPage(String curPage) {
			this.curPage = curPage;
		}

		public String getFetchNum() {
			return fetchNum;
		}

		public void setFetchNum(String fetchNum) {
			this.fetchNum = fetchNum;
		}
		
	}
	
}
